﻿using System;
namespace GtsServer.Model
{
	/// <summary>
	/// Event:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Event
	{
		public Event()
		{}
		#region Model
		private int _id;
		private string _name;
		private int? _changenum;
        private string _typeName;
        private int _chanceTypeID;
        private bool _isTaskCondition;

        public bool IsTaskCondition
        {
            get { return _isTaskCondition; }
            set { _isTaskCondition = value; }
        }


        public int ChanceTypeID
        {
            get { return _chanceTypeID; }
            set { _chanceTypeID = value; }
        }

        public string TypeName
        {
            get { return _typeName; }
            set { _typeName = value; }
        }
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? ChangeNum
		{
			set{ _changenum=value;}
			get{return _changenum;}
		}
		#endregion Model

	}
}

